Using Threshold Logic

Cobra uses threshold logic to evaluate the favorable and unfavorable thresholds for cost and schedule variances of codes and resources.

  • The And logic instructs Cobra to evaluate the variance based on the breaching of both value and percent thresholds. Cobra does not highlight the variance if only one condition is met.
  • The Or logic instructs Cobra to evaluate the variance based on the breaching of either value or percent thresholds. Cobra highlights the variance regardless of either condition being met.

    The Or logic serves as the default value and is also used for invalid entries. For instance, if you attempt to load Test into the logic field, Cobra displays a warning message and loads Or instead.

Note: At the resource level, Cobra automatically uses the Or logic to evaluate threshold variances.
Attention: For more information on threshold variance highlighting, see Highlighting of Threshold Variances.

To set the threshold logic at the code level, use the And/Or field on the Thresholds tab of the Code view. You can set up to five favorable and five unfavorable threshold logic. When you set a threshold logic on the Thresholds tab of the Codes view, you can insert any of the following comparator type columns in the Codes grid of the Code view:

  • Threshold Logic CV At Complete Favorable
  • Threshold Logic CV At Complete Unfavorable
  • Threshold Logic CV Cumulative Favorable
  • Threshold Logic CV Cumulative Unfavorable
  • Threshold Logic CV Current Period Favorable
  • Threshold Logic CV Current Period Unfavorable
  • Threshold Logic SV Cumulative Favorable
  • Threshold Logic SV Cumulative Unfavorable
  • Threshold Logic SV Current Period Favorable
  • Threshold Logic SV Current Period Unfavorable

You can edit the comparator type in the Codes grid or on the Thresholds tab of the Code view.

Threshold logic on codes is used in the following areas in Cobra:

  • When using the Analyze utility
  • When importing a code file using the Ancillary Data-Integration Wizard
  • When generating any of the following reports:
    • IPMR CPR Format 1 report
    • IPMR CPR Format 5 report
    • CPR Format 1 report
    • CPR Format 5 report
    • Earned Value report
    • Codes report
    • Export Codes report
Note: When you run any of these reports, threshold logic and their corresponding values are also displayed on the Thresholds tab of the generated report.
Attention: For information on the report tags for threshold logic, see Code Tags.